<!-- aside start -->
<aside>
        <!-- user start -->
        <div class="side-user">
            <div class="avatar">
                <img src="<?php echo base_url();?>media/admin/img/avatar.jpg" alt="">
            </div>
            <div class="info dropdown">
                <button type="button" class="user-name dropdown-toggle" data-toggle="dropdown">
                    <span><?php echo ($this->session->userdata('user_realname'));?></span>
                </button>
                <!-- <span class="user-position">前端攻城师</span> -->
                <div class="dropdown-menu dropdown-menu-middle">
                    <!-- <a class="item" href="#">编辑账号信息</a>
                    <a class="item" href="#">修改密码</a> -->
                    <!-- <div class="dropdown-divider"></div> -->
                    <a class="item" href="<?php echo site_url(); ?>login/login_out">退出</a>
                </div>
            </div>
        </div>
        <!-- user over -->
        <!-- nav start -->
        <div class="side-nav">
            <nav class="nav">
                <!-- item start -->
                <div class="item">
                    <a class="<?=$this->uri->segments[2]==='index'?'active':'';?>" href="<?php echo base_url();?>admin/index/index" data-pjax><i class="icon-home"></i><span>首页</span></a>
                </div>
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a><i class="icon-window"></i><span>演示模板 - 电子商务</span></a>
                    <div class="nav-sub">
                        <div class="item"><a href="demo-eCommerce.html" data-pjax>首页</a></div>
                        <div class="item"><a href="#" data-pjax>订单管理</a></div>
                        <div class="item"><a href="#" data-pjax>商品管理</a></div>
                    </div>
                </div> -->
                <!-- item over -->
                <h6 class="nav-title">业务管理</h6>
                <!-- item start -->
                <div class="item">
                    
                    <a class="<?=$this->uri->segments[2]==='system_setup'?'active':'';?>" href="<?php echo base_url();?>admin/system_setup/index" data-pjax><i class="icon-gear"></i><span>系统管理</span></a>

                </div>
                <div class="item">
                    
                    <a class="<?=$this->uri->segments[2]==='account'?'active':'';?>" href="<?php echo base_url();?>admin/account/index" data-pjax><i class="icon-group"></i><span>账户管理</span></a>

                </div>
                <div class="item">
                    
                    <a class="<?=$this->uri->segments[2]==='balance'?'active':'';?>" href="<?php echo base_url();?>admin/balance/index" data-pjax><i class="icon-RMB"></i><span>余额管理</span></a>
               
                </div>
                <div class="item">
                    
                    <a class="<?=$this->uri->segments[2]==='auto_trade'?'active':'';?>" href="<?php echo base_url();?>admin/auto_trade/index" data-pjax><i class="icon-order-checkmark"></i><span>自动交易</span></a>
               
                </div>
                <div class="item">
                    
                    <a class="<?=$this->uri->segments[2]==='orders'?'active':'';?>" href="<?php echo base_url();?>admin/orders/index" data-pjax><i class="icon-order"></i><span>订单管理</span></a>

                </div>
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a><i class="icon-gear"></i><span>主体布局</span></a>
                    <div class="nav-sub">
                        <div class="item"><a href="layout-grid.html" data-pjax>网格系统</a></div>
                        <div class="item"><a href="layout-card.html" data-pjax>卡片</a></div>
                        <div class="item"><a href="layout-tab.html" data-pjax>选项卡</a></div>
                        <div class="item"><a href="layout-collapse.html" data-pjax>折叠面板</a></div>
                        <div class="item"><a href="layout-responsive.html" data-pjax>响应式工具</a></div>
                    </div>
                </div> -->
                <!-- item over -->
                <!-- <h6 class="nav-title">组件</h6> -->
                <!-- item start -->
                <!-- <div class="item">
                    <a href="#" data-pjax><i class="icon-gear"></i><span>UI元素</span></a>
                    <div class="nav-sub">
                        <div class="item"><a href="ui-button.html" data-pjax>按钮</a></div>
                        <div class="item"><a href="ui-label.html" data-pjax>标签</a></div>
                        <div class="item"><a href="ui-icofont.html" data-pjax>字体图标</a></div>
                        <div class="item"><a href="ui-color.html" data-pjax>颜色</a></div>
                    </div>
                </div> -->
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a href="list.html" data-pjax><i class="icon-gear"></i><span>列表</span></a>
                </div> -->
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a href="table.html" data-pjax><i class="icon-gear"></i><span>表格</span></a>
                </div> -->
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a><i class="icon-gear"></i><span>表单</span></a>
                    <div class="nav-sub">
                        <div class="item"><a href="form-layout.html" data-pjax>表单布局</a></div>
                        <div class="item"><a href="form-input.html" data-pjax>输入框</a></div>
                        <div class="item"><a href="form-select.html" data-pjax>下拉列表</a></div>
                        <div class="item"><a href="form-radiocheckbox.html" data-pjax>单选多选框</a></div>
                        <div class="item"><a href="form-upload.html" data-pjax>文件上传</a></div>
                        <div class="item"><a href="form-validate.html" data-pjax>表单验证</a></div>
                    </div>
                </div> -->
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a><i class="icon-gear"></i><span>树</span></a>
                    <div class="nav-sub">
                        <div class="item"><a href="tree-ztree.html" data-pjax>zTree</a></div>
                        <div class="item"><a href="tree-treeview.html" data-pjax>Tree View</a></div>
                        <div class="item"><a href="tree-nestable.html" data-pjax>Nestable</a></div>
                    </div>
                </div> -->
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a href="modal.html" data-pjax><i class="icon-gear"></i><span>模态框</span></a>
                </div> -->
                <!-- item over -->
                <!-- item start -->
                <!-- <div class="item">
                    <a href="chart.html" data-pjax><i class="icon-gear"></i><span>数据图</span></a>
                </div> -->
                <!-- item over -->
                <!-- <h6 class="nav-title">其他</h6> -->
                <!-- item start -->
                <!-- <div class="item">
                    <a><i class="icon-gear"></i><span>单页</span></a>
                    <div class="nav-sub">
                        <div class="item"><a href="page-login.html">登录</a></div>
                        <div class="item"><a href="page-404.html">404</a></div>
                    </div>
                </div> -->
                <!-- item over -->
            </nav>
        </div>
        <!-- nav over -->
        <!-- dashboard start -->
        <!-- <div class="side-dashboard MT-hidden">
            <h6 class="side-title">仪表面板</h6>
            <div class="inner">
                <div class="info">
                    <p>进度条</p>
                    <p>60%</p>
                </div>
                <div class="progress">
                    <div class="progress-bar" style="width: 60%;"></div>
                </div>
                <div class="info">
                    <p>里程碑</p>
                    <p>30%</p>
                </div>
                <div class="progress">
                    <div class="progress-bar" style="width: 30%;"></div>
                </div>
            </div>
        </div> -->
        <!-- dashboard over -->
    </aside>
    <!-- aside over -->
    <!-- main start -->
    <main>